import { BattleSprite } from "./BattleSprite";
import { BaseStateMachine } from "./base/fsm/BaseStateMachine";


export class SpriteFSM extends BaseStateMachine {
    owner: BattleSprite;
    constructor(sp:BattleSprite) {
        super();
        this.owner = sp;
    }

    nextState(): void {
        if (this._curStateType == null || this._curStateType == "") {
            this.changeState("Idle");
        }
    }

}